﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TH_UPLOAD_ANH.ascx.cs" Inherits="The_hien_T_UPLOAD" %>

<table cellpadding="0" cellspacing="0" width="400">
    <tr>
        <td width="400">
            <asp:FileUpload ID="FileUpload1" runat="server" Width="220px" />
            <asp:RegularExpressionValidator
	            ID="RegularExpressionValidator1"
	            runat="server"
	            ControlToValidate="FileUpload1"
	            ErrorMessage="Không phải file ảnh"
	            
                ValidationExpression=
            "^([0-9a-zA-Z_\-~ :\\])+(.jpg|.JPG|.jpeg|.JPEG|.bmp|.BMP|.gif|.GIF|.png|.PNG)$" 
                Display="Dynamic"></asp:RegularExpressionValidator>   
        </td>
    </tr>
</table>

